import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import { createPinia } from 'pinia'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import { Truck, Service, GoldMedal } from '@element-plus/icons-vue'

const app = createApp(App)

// 注册所需的图标
app.component('Truck', Truck)
app.component('Service', Service)
app.component('GoldMedal', GoldMedal)

app.use(createPinia())
app.use(router)
app.use(ElementPlus)
app.mount('#app') 